Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the database to be used when the linked server is made through a connection to an OLE DB provider.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Catalog As String
Get
Set
'Usage
Dim instance As LinkedServer
Dim value As String
value = instance.Catalog
instance.Catalog = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string Catalog { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ Catalog {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member Catalog : string with get, set
function get Catalog () : String
function set Catalog (value : String)
Property Value
Type: System.String
A String value that specifies the database to be used when the linked server is made through a connection to an OLE DB provider.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace