Compartir a través de


DatabaseReplicaState.IsLocal Propiedad

Gets or sets a value that indicates whether the database is local to the instance.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsLocal As Boolean 
    Get
'Uso
Dim instance As DatabaseReplicaState 
Dim value As Boolean 

value = instance.IsLocal
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsLocal { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsLocal {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsLocal : bool
function get IsLocal () : boolean

Valor de la propiedad

Tipo: System.Boolean
true if the database is local to the instance; otherwise, false.

Vea también

Referencia

DatabaseReplicaState Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo