SymmetricKeyEncryption.ObjectNameOrPassword Property
Gets or sets the object name or the password associated with the symmetric key encryption.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Property ObjectNameOrPassword As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that specifies the object name or password associated with the symmetric key encryption.