EnumMembers 方法

Returns a list of database users that are members of the database role.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumMembers As StringCollection
用法
Dim instance As DatabaseRole
Dim returnValue As StringCollection

returnValue = instance.EnumMembers()
public StringCollection EnumMembers()
public:
StringCollection^ EnumMembers()
member EnumMembers : unit -> StringCollection 
public function EnumMembers() : StringCollection

返回值

类型:System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains information about the members of the database role.