SmoObjectExtender(T) 類別
此 API 不符合 CLS 標準。 CLS 相容替代方式是 。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Class SmoObjectExtender(Of T As {New, SqlSmoObject}) _
Inherits SfcObjectExtender(Of T)
'用途
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 不支援一般類型和方法。
型別參數
- T
繼承階層
System. . :: . .Object
SfcObjectExtender< (Of < ( <'T> ) > ) >
Microsoft.SqlServer.Management.Smo..::..SmoObjectExtender<(Of <(<'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
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。