ServerRole.EnumServerRoleMembers Method
Enumerates a list of members of the fixed server role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumServerRoleMembers As StringCollection
'Usage
Dim instance As ServerRole
Dim returnValue As StringCollection
returnValue = instance.EnumServerRoleMembers()
public StringCollection EnumServerRoleMembers()
public:
StringCollection^ EnumServerRoleMembers()
member EnumServerRoleMembers : unit -> StringCollection
public function EnumServerRoleMembers() : StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection system object value that contains an enumerated list of information about the members of the fixed server role.
See Also