Partager via


Location propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property Location As String
    Get
'Utilisation
Dim instance As TargetServer
Dim value As String

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

Valeur de la propriété

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

Notes

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