Método ServerRole.AddMembershipToRole
Adds a role to the server role membership.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub AddMembershipToRole ( _
roleName As String _
)
'Uso
Dim instance As ServerRole
Dim roleName As String
instance.AddMembershipToRole(roleName)
public void AddMembershipToRole(
string roleName
)
public:
void AddMembershipToRole(
String^ roleName
)
member AddMembershipToRole :
roleName:string -> unit
public function AddMembershipToRole(
roleName : String
)
Parâmetros
- roleName
Tipo: System.String
A String value that specifies the role that is to be added to the server role membership.