次の方法で共有


Location プロパティ

参照先の対象サーバーの物理的な場所を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Location As String
    Get
'使用
Dim instance As TargetServer
Dim value As String

value = instance.Location
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Location { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Location {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Location : string
function get Location () : String

プロパティ値

型: System. . :: . .String
参照先の対象サーバーの場所を示す String 値です。

説明

Location プロパティは、ドキュメントに指定された説明のテキストです。このプロパティの既定値は、空の文字列です。