ServerRole.EnumServerRoleMembers 方法
注意:此 API 已經過時。
Enumerates a list of members of the fixed server role. This method is deprecated. Use EnumMemberNames() instead.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<ObsoleteAttribute> _
Public Function EnumServerRoleMembers As StringCollection
'用途
Dim instance As ServerRole
Dim returnValue As StringCollection
returnValue = instance.EnumServerRoleMembers()
[ObsoleteAttribute]
public StringCollection EnumServerRoleMembers()
[ObsoleteAttribute]
public:
StringCollection^ EnumServerRoleMembers()
[<ObsoleteAttribute>]
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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間