DefaultFile 属性

获取或设置 DefaultFile 属性值。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultFile As String
    Get
    Set
用法
Dim instance As Server
Dim value As String

value = instance.DefaultFile

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

属性值

类型:System. . :: . .String
String

实现

IServerSettings. . :: . .DefaultFile