共用方式為


Catalog 屬性

Gets or sets the database to be used when the linked server is made through a connection to an OLE DB provider. .

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Catalog As String
    Get
    Set
'用途
Dim instance As LinkedServer
Dim value As String

value = instance.Catalog

instance.Catalog = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Catalog { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Catalog {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Catalog : string with get, set
function get Catalog () : String
function set Catalog (value : String)

屬性值

型別: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.