次の方法で共有


DefaultFile プロパティ

DefaultFile プロパティ値を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute> _
Public Property DefaultFile As String
    Get
    Set
'使用
Dim instance As Server
Dim value As String

value = instance.DefaultFile

instance.DefaultFile = value
[SfcPropertyAttribute]
public string DefaultFile { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ DefaultFile {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract DefaultFile : string with get, set
[<SfcPropertyAttribute>]
override DefaultFile : string with get, set
final function get DefaultFile () : String
final function set DefaultFile (value : String)

プロパティ値

型: System. . :: . .String
String

実装

IServerSettings. . :: . .DefaultFile