共用方式為


IDatabaseOptions.DatabaseSnapshotBaseName 屬性

Gets the name of shapshot base for the database.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_DatabaseSnapshotBaseNameDesc")> _
<DisplayNameKeyAttribute("Database_DatabaseSnapshotBaseNameName")> _
ReadOnly Property DatabaseSnapshotBaseName As String 
    Get
'用途
Dim instance As IDatabaseOptions 
Dim value As String 

value = instance.DatabaseSnapshotBaseName
[DisplayDescriptionKeyAttribute("Database_DatabaseSnapshotBaseNameDesc")]
[DisplayNameKeyAttribute("Database_DatabaseSnapshotBaseNameName")]
string DatabaseSnapshotBaseName { get; }
[DisplayDescriptionKeyAttribute(L"Database_DatabaseSnapshotBaseNameDesc")]
[DisplayNameKeyAttribute(L"Database_DatabaseSnapshotBaseNameName")]
property String^ DatabaseSnapshotBaseName {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Database_DatabaseSnapshotBaseNameDesc")>]
[<DisplayNameKeyAttribute("Database_DatabaseSnapshotBaseNameName")>]
abstract DatabaseSnapshotBaseName : string
function get DatabaseSnapshotBaseName () : String

屬性值

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

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間