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.