共用方式為


Location 屬性

Gets or sets the physical location of the referenced target server.

命名空間:  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
A String value that specifies the location of the referenced target server.

備註

The Location property is descriptive text provided for documentation. The default value of the property is an empty string.