この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。
名前空間: Microsoft.TeamFoundation.Common.Internal
アセンブリ: Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)
構文
'宣言
Public Shared Function WNetAddConnection2 ( _
resource As NativeMethods.NETRESOURCE, _
lpPassword As String, _
lpUserName As String, _
dwFlags As Integer _
) As Integer
public static int WNetAddConnection2(
NativeMethods.NETRESOURCE resource,
string lpPassword,
string lpUserName,
int dwFlags
)
パラメーター
- lpPassword
型 : System.String
- lpUserName
型 : System.String
- dwFlags
型 : System.Int32
戻り値
型 : System.Int32