Partager via


Propriété WindowsUsersAndGroupsInSysadminRole

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")> _
<DisplayNameKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")> _
ReadOnly Property WindowsUsersAndGroupsInSysadminRole As String()
    Get
'Utilisation
Dim instance As IServerSetupFacet
Dim value As String()

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

Valeur de propriété

Type : array<System. . :: . .String> [] () [] []
A String value that specifies the Windows users and groups that are assigned to the system administrator role.