Condividi tramite


Proprietà DatabaseReplicaState.IsLocal

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsLocal As Boolean 
    Get
'Utilizzo
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

Valore proprietà

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

Vedere anche

Riferimento

DatabaseReplicaState Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo