Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Windows users and groups that are assigned to the system administrator role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleName")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_WindowsUsersAndGroupsInSysadminRoleDesc")> _
ReadOnly Property WindowsUsersAndGroupsInSysadminRole As String()
Get
'Usage
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[]
Property Value
Type: array<System.String[]
A String value that specifies the Windows users and groups that are assigned to the system administrator role.