共用方式為


UseDefaultCredentials 屬性

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property UseDefaultCredentials As Boolean
    Get
    Set
'用途
Dim instance As MailServer
Dim value As Boolean

value = instance.UseDefaultCredentials

instance.UseDefaultCredentials = value
[SfcPropertyAttribute]
public bool UseDefaultCredentials { get; set; }
[SfcPropertyAttribute]
public:
property bool UseDefaultCredentials {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member UseDefaultCredentials : bool with get, set
function get UseDefaultCredentials () : boolean
function set UseDefaultCredentials (value : boolean)

屬性值

型別:System. . :: . .Boolean