Método ServerRoleCollection.Add
Adds a new Server Role to the Server Role Collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Add ( _
serverRole As ServerRole _
)
'Uso
Dim instance As ServerRoleCollection
Dim serverRole As ServerRole
instance.Add(serverRole)
public void Add(
ServerRole serverRole
)
public:
void Add(
ServerRole^ serverRole
)
member Add :
serverRole:ServerRole -> unit
public function Add(
serverRole : ServerRole
)
Parâmetros
- serverRole
Tipo: Microsoft.SqlServer.Management.Smo.ServerRole
ServerRole