Share via


ManagementPackModuleType.RunAs Property

Gets or sets a reference to a secure reference identifier that is defined in this Management Pack or a referenced Management Pack. When used, modules of this type will run under the credentials that are assigned to the secure reference.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackModuleType
Dim value As ManagementPackElementReference(Of ManagementPackSecureReference)

value = instance.RunAs

instance.RunAs = value

Syntax

'Declaration
Public Property RunAs As ManagementPackElementReference(Of ManagementPackSecureReference)
public ManagementPackElementReference<ManagementPackSecureReference> RunAs { get; set; }
public:
property ManagementPackElementReference<ManagementPackSecureReference^>^ RunAs {
    ManagementPackElementReference<ManagementPackSecureReference^>^ get ();
    void set (ManagementPackElementReference<ManagementPackSecureReference^>^ value);
}
/** @property */
public ManagementPackElementReference<ManagementPackSecureReference> get_RunAs ()

/** @property */
public void set_RunAs (ManagementPackElementReference<ManagementPackSecureReference> value)
public function get RunAs () : ManagementPackElementReference<ManagementPackSecureReference>

public function set RunAs (value : ManagementPackElementReference<ManagementPackSecureReference>)

Property Value

A ManagementPackElementReference reference to a ManagementPackSecureReference object.

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,Windows Vista,Windows XP

See Also

Reference

ManagementPackModuleType Class
ManagementPackModuleType Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.