Freigeben über


TargetServer.Location-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Location As String 
    Get
'Usage
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

Eigenschaftswert

Typ: System.String
A String value that specifies the location of the referenced target server.

Hinweise

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

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

TargetServer Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_help_targetserver (Transact-SQL)