BuildServiceHostUtilities.ChangeEndpointAndUser メソッド
メモ: この API は、互換性のために残されています。
http://machinename:9191などのエンドポイントが受信するURIを、—登録されたサービス ホストのサービス アカウント変更します。
名前空間: Microsoft.TeamFoundation.Build.Config
アセンブリ: Microsoft.TeamFoundation.Build.Config (Microsoft.TeamFoundation.Build.Config.dll 内)
構文
'宣言
<ObsoleteAttribute("This method has been deprecated. Please remove all references.", _
False)> _
Public Shared Sub ChangeEndpointAndUser ( _
endpoint As String, _
serverCertificate As X509Certificate2, _
userName As String, _
password As String _
)
[ObsoleteAttribute("This method has been deprecated. Please remove all references.",
false)]
public static void ChangeEndpointAndUser(
string endpoint,
X509Certificate2 serverCertificate,
string userName,
string password
)
パラメーター
- endpoint
型 : System.String
現在登録されたサービス ホストの新しい終点。
- serverCertificate
型 : System.Security.Cryptography.X509Certificates.X509Certificate2
サーバー認証で使用するのX509証明書。
- userName
型 : System.String
サービス ホストで使用するサービス アカウント。null値、ネットワーク サービスが使用されます。
- password
型 : System.String
サービス アカウントのパスワード。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。