SymmetricKeyEncryption.ObjectNameOrPassword 属性

Gets or sets the object name or the password associated with the symmetric key encryption.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Property ObjectNameOrPassword As String 
    Get 
    Set
用法
Dim instance As SymmetricKeyEncryption 
Dim value As String 

value = instance.ObjectNameOrPassword

instance.ObjectNameOrPassword = value
public string ObjectNameOrPassword { get; set; }
public:
property String^ ObjectNameOrPassword {
    String^ get ();
    void set (String^ value);
}
member ObjectNameOrPassword : string with get, set
function get ObjectNameOrPassword () : String 
function set ObjectNameOrPassword (value : String)

属性值

类型:System.String
A String value that specifies the object name or password associated with the symmetric key encryption.

请参阅

参考

SymmetricKeyEncryption 类

Microsoft.SqlServer.Management.Smo 命名空间