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
)