다음을 통해 공유


Add 메서드

Adds the specified database role to the collection.

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

구문

‘선언
Public Sub Add ( _
    databaseRole As DatabaseRole _
)
‘사용 방법
Dim instance As DatabaseRoleCollection
Dim databaseRole As DatabaseRole

instance.Add(databaseRole)
public void Add(
    DatabaseRole databaseRole
)
public:
void Add(
    DatabaseRole^ databaseRole
)
member Add : 
        databaseRole:DatabaseRole -> unit 
public function Add(
    databaseRole : DatabaseRole
)

매개 변수