Add 方法
Adds a Credential object to the referenced collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
credential As Credential _
)
'用途
Dim instance As CredentialCollection
Dim credential As Credential
instance.Add(credential)
public void Add(
Credential credential
)
public:
void Add(
Credential^ credential
)
member Add :
credential:Credential -> unit
public function Add(
credential : Credential
)
參數
- credential
型別:Microsoft.SqlServer.Management.Smo. . :: . .Credential
A Credential object that specifies the credential to be added to the collection.