EnumServerRoleMembers 方法
Enumerates a list of members of the fixed server role.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumServerRoleMembers As StringCollection
用法
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
返回值
类型:System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains an enumerated list of information about the members of the fixed server role.