DatabaseSnapshotExtender Class
Adds methods and properties to the DatabaseSnapshot object.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Database>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<Database>
Microsoft.SqlServer.Management.Smo.DatabaseSnapshotExtender
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class DatabaseSnapshotExtender _
Inherits SmoObjectExtender(Of Database) _
Implements ISfcValidate
'Usage
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
The DatabaseSnapshotExtender type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Files | Gets a collection of the data and log files that are associated with a database. | |
Parent | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetParentSfcPropertySet | Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.) | |
GetPropertySet | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
OnPropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
parent_PropertyChanged | Indicates the changes on the parent property in the database. (Overrides SfcObjectExtender<TSfcInstance>.parent_PropertyChanged(Object, PropertyChangedEventArgs).) | |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo, String) | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
PropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISfcValidate.Validate | Checks whether the DatabaseSnapshot object is properly configured. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.