Aracılığıyla paylaş


ProcessModelSection.Password Özellik

Tanım

Windows kimliği için kullanılacak parolayı belirten bir değer alır veya ayarlar.

public:
 property System::String ^ Password { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("password", DefaultValue="AutoGenerate")]
public string Password { get; set; }
[<System.Configuration.ConfigurationProperty("password", DefaultValue="AutoGenerate")>]
member this.Password : string with get, set
Public Property Password As String

Özellik Değeri

Kullanılacak parola. Varsayılan değer Otomatik Oluştur'dur.

Öznitelikler

Örnekler

Aşağıdaki kod örneği özelliğine nasıl erişeceklerini Password gösterir.


// Get the current Password property value.
string password = 
    processModelSection.Password;

// Set the Password property to "CUPassword".
processModelSection.Password = "CUPassword";
' Get the current Password property value.
   Dim password As String = _
   processModelSection.Password

' Set the Password property to "CUPassword".
processModelSection.Password = "CUPassword"

Açıklamalar

Password özelliği özelliğiyle UserName kullanılmalıdır.

Mevcut olduğunda, bu özellik değerleri çalışan işleminin yapılandırılmış Windows kimliğiyle çalışmasına neden olur.

Şunlara uygulanır

Ayrıca bkz.