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.