共用方式為


Credential.ProviderName 屬性

Gets or sets the name of the provider.

此 API 不符合 CLS 標準。 

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

語法

'宣告
<SfcReferenceAttribute(GetType(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']",  _
    )> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")> _
Public Property ProviderName As String 
    Get 
    Set
'用途
Dim instance As Credential 
Dim value As String 

value = instance.ProviderName

instance.ProviderName = value
[SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")]
public string ProviderName { get; set; }
[SfcReferenceAttribute(typeof(CryptographicProvider), L"Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone, L"string.empty")]
public:
property String^ ProviderName {
    String^ get ();
    void set (String^ value);
}
[<SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")>]
member ProviderName : string with get, set
function get ProviderName () : String 
function set ProviderName (value : String)

屬性值

型別:System.String
A String value that specifies the name of the provider.

範例

設定屬性

請參閱

參考

Credential 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE CREDENTIAL (Transact-SQL)

認證 (Database Engine)