Compartilhar via


TaskConfiguration.Credentials Property

Gets or sets the credentials for executing a task.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As TaskConfiguration
Dim value As TaskCredentials

value = instance.Credentials

instance.Credentials = value

Syntax

'Declaration
Public Property Credentials As TaskCredentials
public TaskCredentials Credentials { get; set; }
public:
property TaskCredentials^ Credentials {
    TaskCredentials^ get ();
    void set (TaskCredentials^ value);
}
/** @property */
public TaskCredentials get_Credentials ()

/** @property */
public void set_Credentials (TaskCredentials value)
public function get Credentials () : TaskCredentials

public function set Credentials (value : TaskCredentials)

Property Value

Returns TaskCredentials.

The credentials for executing a task.

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

TaskConfiguration Class
TaskConfiguration Members
Microsoft.EnterpriseManagement.Configuration Namespace