共用方式為


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.