Partager via


ManagementPackBundle.AddResourceStream Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds the resource stream.

Namespace: Microsoft.EnterpriseManagement.Packaging
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackBundle
Dim managementPack As ManagementPack
Dim streamId As String
Dim data As Stream
Dim signature As ManagementPackBundleStreamSignature

instance.AddResourceStream(managementPack, streamId, data, signature)

Syntax

'Declaration
Public Sub AddResourceStream ( _
    managementPack As ManagementPack, _
    streamId As String, _
    data As Stream, _
    signature As ManagementPackBundleStreamSignature _
)
public void AddResourceStream (
    ManagementPack managementPack,
    string streamId,
    Stream data,
    ManagementPackBundleStreamSignature signature
)
public:
void AddResourceStream (
    ManagementPack^ managementPack, 
    String^ streamId, 
    Stream^ data, 
    ManagementPackBundleStreamSignature^ signature
)
public void AddResourceStream (
    ManagementPack managementPack, 
    String streamId, 
    Stream data, 
    ManagementPackBundleStreamSignature signature
)
public function AddResourceStream (
    managementPack : ManagementPack, 
    streamId : String, 
    data : Stream, 
    signature : ManagementPackBundleStreamSignature
)

Parameters

  • managementPack
    The management pack.
  • streamId
    The stream Id.
  • data
    The data.
  • signature
    The signature.

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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackBundle Class
ManagementPackBundle Members
Microsoft.EnterpriseManagement.Packaging Namespace