Login.PasswordExpirationEnabled プロパティ
ログイン アカウントのパスワードの有効期限が自動的に切れるかどうかを示す Boolean プロパティ値を取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase, _
"false")> _
Public Property PasswordExpirationEnabled As Boolean
Get
Set
'使用
Dim instance As Login
Dim value As Boolean
value = instance.PasswordExpirationEnabled
instance.PasswordExpirationEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase,
"false")]
public bool PasswordExpirationEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase,
L"false")]
public:
virtual property bool PasswordExpirationEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase,
"false")>]
abstract PasswordExpirationEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase,
"false")>]
override PasswordExpirationEnabled : bool with get, set
final function get PasswordExpirationEnabled () : boolean
final function set PasswordExpirationEnabled (value : boolean)
プロパティ値
型: System.Boolean
ログイン アカウントのパスワードの有効期限が自動的に切れるかどうかを示す Boolean 値です。 True の場合、ログイン アカウントのパスワードの有効期限は自動的に切れます。 False の場合、ログイン アカウントのパスワードの有効期限は自動的には切れません。
実装
ILoginOptions.PasswordExpirationEnabled
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間