ServerRole.EnumContainingRoleNames 메서드

Gets a StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function EnumContainingRoleNames As StringCollection
‘사용 방법
Dim instance As ServerRole 
Dim returnValue As StringCollection 

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

반환 값

유형: System.Collections.Specialized.StringCollection
A StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.

참고 항목

참조

ServerRole 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스