ServerRoleCollection.Add Method
Adds a new Server Role to the Server Role Collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
serverRole As ServerRole _
)
'Kullanım
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
)
Parameters
- serverRole
Type: Microsoft.SqlServer.Management.Smo.ServerRole
ServerRole