Share via


DatabaseSnapshotExtender 類別

Adds methods and properties to the DatabaseSnapshot object.

此 API 不符合 CLS 標準。 

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'Database> ) > ) >
    Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectExtender< (Of < ( <'Database> ) > ) >
      Microsoft.SqlServer.Management.Smo..::..DatabaseSnapshotExtender

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

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Class DatabaseSnapshotExtender _
    Inherits SmoObjectExtender(Of Database) _
    Implements ISfcValidate
'用途
Dim instance As DatabaseSnapshotExtender
[CLSCompliantAttribute(false)]
public class DatabaseSnapshotExtender : SmoObjectExtender<Database>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class DatabaseSnapshotExtender : public SmoObjectExtender<Database^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type DatabaseSnapshotExtender =  
    class
        inherit SmoObjectExtender<Database>
        interface ISfcValidate
    end
public class DatabaseSnapshotExtender extends SmoObjectExtender<Database> implements ISfcValidate

DatabaseSnapshotExtender 型別公開下列成員。

建構函式

  名稱 說明
公用方法 DatabaseSnapshotExtender() () () () Initializes a new instance of the DatabaseSnapshotExtender class that has the default property values.
公用方法 DatabaseSnapshotExtender(Database) Initializes a new instance of the DatabaseSnapshotExtender class that has the database parameter specified.

上層

屬性

  名稱 說明
公用屬性 Files Gets a collection of the data and log files that are associated with a database.
受保護的屬性 Parent 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
受保護的方法 GetParentSfcPropertySet Returns an instance of the parent objects property set. (繼承自 SmoObjectExtender< (Of < ( <'T> ) > ) >。)
公用方法 GetPropertySet 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 OnPropertyMetadataChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 parent_PropertyChanged Indicates the changes on the parent property in the database. (覆寫 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >. . :: . .parent_PropertyChanged(Object, PropertyChangedEventArgs)。)
受保護的方法 parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterParentProperty Registers the property of the parent that has not been included in properties collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterProperty(PropertyInfo) Registers an additional reflected property. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterProperty(PropertyInfo, String) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用方法 ToString (繼承自 Object。)

上層

事件

  名稱 說明
公用事件 PropertyChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用事件 PropertyMetadataChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 ISfcValidate. . :: . .Validate Checks whether the DatabaseSnapshot object is properly configured.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。