User.EnumRoles 메서드
Enumerates a list of roles of which the database user is a member.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Function EnumRoles As StringCollection
‘사용 방법
Dim instance As User
Dim returnValue As StringCollection
returnValue = instance.EnumRoles()
public StringCollection EnumRoles()
public:
StringCollection^ EnumRoles()
member EnumRoles : unit -> StringCollection
public function EnumRoles() : StringCollection
반환 값
유형: System.Collections.Specialized.StringCollection
A StringCollection system object value that specifies the roles of which the database is a member.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스