مشاركة عبر


ServerRole Constructor (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
)

Parameters

See Also

Reference

ServerRole Class

ServerRole Overload

Microsoft.SqlServer.Management.Smo Namespace