ServerRoleCollection.Add 메서드

Adds a new Server Role to the Server Role Collection.

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

구문

‘선언
Public Sub Add ( _
    serverRole As ServerRole _
)
‘사용 방법
Dim instance As ServerRoleCollection 
Dim serverRole As ServerRole

instance.Add(serverRole)
public void Add(
    ServerRole serverRole
)
public:
void Add(
    ServerRole^ serverRole
)
member Add : 
        serverRole:ServerRole -> unit
public function Add(
    serverRole : ServerRole
)

매개 변수

컬렉션 사용

참고 항목

참조

ServerRoleCollection 클래스

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