LinkedServer.Location Property

Gets or sets the description of the location of the linked server.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property Location As String
public string Location { get; set; }
public:
property String^ Location {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Location ()

/** @property */
public void set_Location (String value)
public function get Location () : String

public function set Location (value : String)

Значение свойства

A String value that specifies the location of the linked server.

Замечания

Server names often do not reveal their physical location. The Location property is used to add a description of the physical location such as "Paris", or "Building 11".

Это пространство имен, класс или элемент поддерживаются только платформой 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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

LinkedServer Class
LinkedServer Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Using Linked Servers in SMO
Связь серверов
sp_addlinkedserver (Transact-SQL)