Méthode Add
Adds a new Server Role to the Server Role Collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
serverRole As ServerRole _
)
'Utilisation
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
)
Paramètres
- serverRole
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerRole
ServerRole