LinkedServer.DataSource Property
Gets or sets the data source to be used when the linked server is made through a connection to an OLE DB provider.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public Property DataSource As String
public string DataSource { get; set; }
public:
property String^ DataSource {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_DataSource ()
/** @property */
public void set_DataSource (String value)
public function get DataSource () : String
public function set DataSource (value : String)
속성 값
A String value that specifies the data source on the linked server.
주의
The data source is defined in by the OLE DB provider. For the OLE DB provider for Microsoft SQL Server, it is the server name.
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.
예
How to: Link to an OLE-DB Provider Server in Visual Basic .NET
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
LinkedServer Class
LinkedServer Members
Microsoft.SqlServer.Management.Smo Namespace
관련 자료
Using Linked Servers in SMO
서버 연결
sp_addlinkedserver(Transact-SQL)