[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

Visual Basic
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

Visual Basic
Public Sub AddResourceStream ( _
		managementPack As ManagementPack, _
		streamId As String, _
		data As Stream, _
		signature As ManagementPackBundleStreamSignature _
)
C#
public void AddResourceStream (
		ManagementPack managementPack,
		string streamId,
		Stream data,
		ManagementPackBundleStreamSignature signature
)
C++
public:
void AddResourceStream (
		ManagementPack^ managementPack, 
		String^ streamId, 
		Stream^ data, 
		ManagementPackBundleStreamSignature^ signature
)
J#
public void AddResourceStream (
		ManagementPack managementPack, 
		String streamId, 
		Stream data, 
		ManagementPackBundleStreamSignature signature
)
JScript
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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also