共用方式為


IServerSetupFacet.WindowsUsersAndGroupsInSysadminRole 屬性

Gets the Windows users and groups that are assigned to the system administrator role.

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

語法

'宣告
<DisplayNameKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")> _
ReadOnly Property WindowsUsersAndGroupsInSysadminRole As String()
    Get
'用途
Dim instance As IServerSetupFacet 
Dim value As String()

value = instance.WindowsUsersAndGroupsInSysadminRole
[DisplayNameKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")]
[DisplayDescriptionKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")]
string[] WindowsUsersAndGroupsInSysadminRole { get; }
[DisplayNameKeyAttribute(L"IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")]
[DisplayDescriptionKeyAttribute(L"IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")]
property array<String^>^ WindowsUsersAndGroupsInSysadminRole {
    array<String^>^ get ();
}
[<DisplayNameKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")>]
[<DisplayDescriptionKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")>]
abstract WindowsUsersAndGroupsInSysadminRole : string[]
function get WindowsUsersAndGroupsInSysadminRole () : String[]

屬性值

型別:array<System.String[]
A String value that specifies the Windows users and groups that are assigned to the system administrator role.

範例

設定屬性

請參閱

參考

IServerSetupFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間