TargetServer.Location Propiedad
Gets or sets the physical location of the referenced target server.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Location As String
Get
'Uso
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
Valor de la propiedad
Tipo: System.String
A String value that specifies the location of the referenced target server.
Comentarios
The Location property is descriptive text provided for documentation. The default value of the property is an empty string.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent