RemoteServiceBinding.CertificateUser 属性
Gets or sets the user that holds the certificate associated with the remote service binding.
此 API 不符合 CLS。
命名空间: Microsoft.SqlServer.Management.Smo.Broker
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property CertificateUser As String
Get
Set
用法
Dim instance As RemoteServiceBinding
Dim value As String
value = instance.CertificateUser
instance.CertificateUser = value
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string CertificateUser { get; set; }
[SfcReferenceAttribute(typeof(User), L"Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ CertificateUser {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
member CertificateUser : string with get, set
function get CertificateUser () : String
function set CertificateUser (value : String)
属性值
类型:System.String
A String value that specifies the user that holds the certificate associated with the remote service binding.
示例
Readme_ServiceBrokerConfiguration
请参阅
参考
Microsoft.SqlServer.Management.Smo.Broker 命名空间