SmoObjectExtender<T> Class
The SmoObjectExtender<T> class adds methods and properties to an SqlSmoObject class instance.
This API is not CLS-compliant. The CLS-compliant alternative is .
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<T>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<T>
More...
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class SmoObjectExtender(Of T As {New, SqlSmoObject}) _
Inherits SfcObjectExtender(Of T)
'Usage
Dim instance As SmoObjectExtender(Of T)
[CLSCompliantAttribute(false)]
public class SmoObjectExtender<T> : SfcObjectExtender<T>
where T : new(), SqlSmoObject
[CLSCompliantAttribute(false)]
generic<typename T>
where T : gcnew(), SqlSmoObject
public ref class SmoObjectExtender : public SfcObjectExtender<T>
[<CLSCompliantAttribute(false)>]
type SmoObjectExtender<'T when 'T : new() and SqlSmoObject> =
class
inherit SfcObjectExtender<'T>
end
JScript does not support generic types and methods.
Type Parameters
- T
The SmoObjectExtender<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmoObjectExtender<T>() | Creates a new default instance of the SmoObjectExtender<T> class. | |
SmoObjectExtender<T>(T) | Creates a new instance of the SmoObjectExtender<T> class that extends the specified object. |
Top
Properties
Name | Description | |
---|---|---|
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. (Overrides SfcObjectExtender<TSfcInstance>.GetParentSfcPropertySet().) | |
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 | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
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
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.
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<T>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<T>
Microsoft.SqlServer.Management.Smo.AuditExtender
Microsoft.SqlServer.Management.Smo.Broker.BrokerPriorityExtender
Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceExtender
Microsoft.SqlServer.Management.Smo.Broker.MessageTypeExtender
Microsoft.SqlServer.Management.Smo.Broker.RemoteServiceBindingExtender
Microsoft.SqlServer.Management.Smo.Broker.ServiceContractExtender
Microsoft.SqlServer.Management.Smo.Broker.ServiceQueueExtender
Microsoft.SqlServer.Management.Smo.Broker.ServiceRouteExtender
Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecificationExtender
Microsoft.SqlServer.Management.Smo.DatabaseEncryptionKeyExtender
Microsoft.SqlServer.Management.Smo.DatabaseSnapshotExtender
Microsoft.SqlServer.Management.Smo.PlanGuideExtender
Microsoft.SqlServer.Management.Smo.ServerAuditSpecificationExtender