DatabaseSnapshotExtender 类
Adds methods and properties to the DatabaseSnapshot object.
此 API 不符合 CLS。
继承层次结构
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Database>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<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<TSfcInstance> 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetParentSfcPropertySet | Returns an instance of the parent objects property set. (从 SmoObjectExtender<T> 继承。) |
![]() |
GetPropertySet | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
OnPropertyMetadataChanged | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
parent_PropertyChanged | Indicates the changes on the parent property in the database. (覆盖 SfcObjectExtender<TSfcInstance>.parent_PropertyChanged(Object, PropertyChangedEventArgs)。) |
![]() |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
RegisterProperty(PropertyInfo, String) | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
PropertyChanged | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
![]() |
PropertyMetadataChanged | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
ISfcValidate.Validate | Checks whether the DatabaseSnapshot object is properly configured. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。