共用方式為


Add 方法

Adds a symmetric key to the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    symmetricKey As SymmetricKey _
)
'用途
Dim instance As SymmetricKeyCollection
Dim symmetricKey As SymmetricKey

instance.Add(symmetricKey)
public void Add(
    SymmetricKey symmetricKey
)
public:
void Add(
    SymmetricKey^ symmetricKey
)
member Add : 
        symmetricKey:SymmetricKey -> unit 
public function Add(
    symmetricKey : SymmetricKey
)