Sdílet prostřednictvím


SmoObjectExtender<T> Class

This API is not CLS-compliant. The CLS-compliant alternative is .

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

Inheritance Hierarchy

System.Object
  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

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.