共用方式為


IsRegistered 屬性

Gets the Boolean property value that specifies whether the instance of Microsoft SQL Server is registered in the Active Directory service as a Service Control Point (SCP).

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property IsRegistered As Boolean
    Get
'用途
Dim instance As ServerActiveDirectory
Dim value As Boolean

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

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the instance of SQL Server is registered in the Active Directory service.
If True, the instance of SQL Server is registered in the Active Directory service.
If False (default), the instance of SQL Server is not registered in the Active Directory service.

範例

設定屬性