LinkedServer.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.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Catalog As String 
    Get 
    Set
‘사용 방법
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)

속성 값

유형: 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.

SMO에서 연결된 서버 사용

참고 항목

참조

LinkedServer 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

연결된 서버(데이터베이스 엔진)

sp_addlinkedserver(Transact-SQL)