共用方式為


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
)

參數

範例

使用集合