ServerRole 생성자 (Server, String)

Initializes a new instance of the ServerRole class.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    server As Server, _
    name As String _
)
‘사용 방법
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
)

매개 변수

참고 항목

참조

ServerRole 클래스

ServerRole 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스