ServerRole-Konstruktor (Server, String)
Initializes a new instance of the ServerRole class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
server As Server, _
name As String _
)
'Usage
Dim server As Server
Dim name As String
Dim instance As New ServerRole(server, _
name)
public ServerRole(
Server server,
string name
)
public:
ServerRole(
Server^ server,
String^ name
)
new :
server:Server *
name:string -> ServerRole
public function ServerRole(
server : Server,
name : String
)
Parameter
- server
Typ: Microsoft.SqlServer.Management.Smo.Server
The Server which serves as the parent to the ServerRole.
- name
Typ: System.String
A String containing the name of the ServerRole