ServerRole.EnumContainingRoleNames Método
Gets a StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumContainingRoleNames As StringCollection
'Uso
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
Valor devuelto
Tipo: System.Collections.Specialized.StringCollection
A StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.