Metodo Add
Adds a new Server Role to the Server Role Collection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
serverRole As ServerRole _
)
'Utilizzo
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
)
Parametri
- serverRole
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerRole
ServerRole
Vedere anche