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.