DatabaseReplicaState.IsLocal 屬性
Gets or sets a value that indicates whether the database is local to the instance.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsLocal As Boolean
Get
'用途
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
屬性值
型別:System.Boolean
true if the database is local to the instance; otherwise, false.