ServerRole Constructor (Server, String)
Collapse the table of content
Expand the table of content

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)

public ServerRole(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server

The Server which serves as the parent to the ServerRole.

name
Type: System.String

A String containing the name of the ServerRole

Return to top
Show:
© 2016 Microsoft