Método ServerRole.AddMember
Adds a login to the fixed server role membership.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub AddMember ( _
memberName As String _
)
'Uso
Dim instance As ServerRole
Dim memberName As String
instance.AddMember(memberName)
public void AddMember(
string memberName
)
public:
void AddMember(
String^ memberName
)
member AddMember :
memberName:string -> unit
public function AddMember(
memberName : String
)
Parâmetros
- memberName
Tipo: System.String
A String value that specifies the login that is to be added to the fixed server role membership.
Exemplos
Gerenciando usuários, funções e logons
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo
Outros recursos
Permissões de funções de servidor fixas (Mecanismo de Banco de Dados)