Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Database.FullTextCatalogs Property

Represents a collection of FullTextCatalog objects. Each FullTextCatalog object represents a full-text catalog defined on the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
	typeof(FullTextCatalog))]
public FullTextCatalogCollection FullTextCatalogs { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.FullTextCatalogCollection
A FullTextCatalogCollection object that represents all the full-text catalogs defined on the database.

Specific full-text catalogs can be referenced by using this collection by specifying the name of the full-text catalog. To add a new full-text catalog to the collection, call the full-text catalog constructor.

'Connect to the local, default instance of SQL Server.
Dim srv As Server
srv = New Server

'Reference the AdventureWorks database.
Dim db As Database
db = srv.Databases("AdventureWorks")

'Display all the full-text catalogs in the database.
Dim ftc As FullTextCatalog
For Each ftc In db.FullTextCatalogs
   Console.WriteLine(ftc.Name)
Next
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.