共用方式為


Package 類別

Metadata for other information classes such as EventInfo, TargetInfo, ActionInfo, and others listed in Remarks.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.XEvent.Package

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
Public NotInheritable Class Package _
    Inherits SfcInstance
'用途
Dim instance As Package
public sealed class Package : SfcInstance
public ref class Package sealed : public SfcInstance
[<SealedAttribute>]
type Package =  
    class 
        inherit SfcInstance 
    end
public final class Package extends SfcInstance

Package 型別公開下列成員。

屬性

  名稱 說明
受保護的屬性 AbstractIdentityKey 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用屬性 ActionInfoSet Gets the ActionInfoCollection object contained by the package.
公用屬性 Capabilities Gets an integer value that represents the capabilities.
公用屬性 CapabilitiesDesc Gets a string value that contains the capabilities description.
公用屬性 Description Gets a string that contains the description of the Package object.
公用屬性 EventInfoSet Gets the EventInfoCollection that the package contains.
公用屬性 ID Gets a Guid object that contains the Id.
公用屬性 IdentityKey Gets the identity key of the Package object.
公用屬性 MapInfoSet Gets the MapInfoCollection contained by the package.
公用屬性 Metadata Returns metadata about the instance and its domain. (繼承自 SfcInstance。)
公用屬性 ModuleAddress Gets a Byte value that contains the module address.
公用屬性 ModuleID Gets a Guid object that contains the module Id.
公用屬性 Name Gets a string value that contains the name of the package.
公用屬性 Parent Gets or sets the parent XEStore object.
公用屬性 PredCompareInfoSet Gets the PredCompareInfoCollection contained by the package.
公用屬性 PredSourceInfoSet Gets the PredSourceInfoCollection contained by the package.
公用屬性 Properties Returns a collection instance properties. (繼承自 SfcInstance。)
受保護的屬性 State Returns the state of the SfcInstance object. (繼承自 SfcInstance。)
公用屬性 TargetInfoSet Gets the TargetInfoCollection contained by the package.
公用屬性 TypeInfoSet Gets the TypeInfoCollection contained by the package.
公用屬性 Urn Returns the uniform resource name of the SfcInstance object. (繼承自 SfcInstance。)

上層

方法

  名稱 說明
受保護的方法 CreateIdentityKey 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用方法 Discover 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用方法 Equals (繼承自 Object。)
受保護的方法 GetChildCollection 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用方法 GetDomain 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用方法 GetHashCode (繼承自 Object。)
公用方法靜態成員 GetObjectFactory Gets the SQL Foundation Class object factory for the Package object.
公用方法 GetPropertySet Returns the set of properties for the SfcInstance object. (繼承自 SfcInstance。)
公用方法 GetType (繼承自 Object。)
受保護的方法 GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
受保護的方法 InitializeUIPropertyState 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
受保護的方法 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (繼承自 SfcInstance。)
受保護的方法 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (繼承自 SfcInstance。)
公用方法 Refresh Refreshes the object's properties by reading them from the server. (繼承自 SfcInstance。)
受保護的方法 ResetKey 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。)
公用方法 Serialize Serializes the instance to XML. (繼承自 SfcInstance。)
公用方法 ToString Returns a string representation of the instance Urn. (繼承自 SfcInstance。)

上層

事件

  名稱 說明
公用事件 PropertyChanged CLS-compliant event for property changes. (繼承自 SfcInstance。)
公用事件 PropertyMetadataChanged CLS-compliant event for property metadata changes. (繼承自 SfcInstance。)

上層

備註

The Package class is the parent for other metadata classes, including EventInfo, TargetInfo, ActionInfo, TypeInfo, PredSourceInfo, PredCompareInfo, MapInfo, EventColumnInfo, TargetColumnInfo, and MapValueInfo.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.XEvent 命名空間