WssServersDataSet.WssServersDataTable.AddWssServersRow 方法 (Guid, String, Int32, Int32, Byte, Byte, String, String, String, String, String)
通过使用不同的参数向WssServersDataTable,一个WssServersRow对象。
命名空间: WebSvcWssInterop
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddWssServersRow ( _
WSTS_SERVER_UID As Guid, _
WSTS_SERVER_NAME As String, _
WSTS_SERVER_WEB_PORT As Integer, _
WSTS_SERVER_ADMIN_PORT As Integer, _
WSTS_WEB_PORT_IS_SSL As Byte, _
WSTS_ADMIN_PORT_IS_SSL As Byte, _
WSTS_MANAGED_PATH As String, _
WSTS_EXTRANET_SERVER_NAME As String, _
WSTS_ADMIN_SERVER_NAME As String, _
WSTS_NETBIOS_SERVER_NAME As String, _
WSS_SERVER_URL As String _
) As WssServersDataSet.WssServersRow
用法
Dim instance As WssServersDataSet.WssServersDataTable
Dim WSTS_SERVER_UID As Guid
Dim WSTS_SERVER_NAME As String
Dim WSTS_SERVER_WEB_PORT As Integer
Dim WSTS_SERVER_ADMIN_PORT As Integer
Dim WSTS_WEB_PORT_IS_SSL As Byte
Dim WSTS_ADMIN_PORT_IS_SSL As Byte
Dim WSTS_MANAGED_PATH As String
Dim WSTS_EXTRANET_SERVER_NAME As String
Dim WSTS_ADMIN_SERVER_NAME As String
Dim WSTS_NETBIOS_SERVER_NAME As String
Dim WSS_SERVER_URL As String
Dim returnValue As WssServersDataSet.WssServersRow
returnValue = instance.AddWssServersRow(WSTS_SERVER_UID, _
WSTS_SERVER_NAME, WSTS_SERVER_WEB_PORT, _
WSTS_SERVER_ADMIN_PORT, WSTS_WEB_PORT_IS_SSL, _
WSTS_ADMIN_PORT_IS_SSL, WSTS_MANAGED_PATH, _
WSTS_EXTRANET_SERVER_NAME, WSTS_ADMIN_SERVER_NAME, _
WSTS_NETBIOS_SERVER_NAME, WSS_SERVER_URL)
public WssServersDataSet.WssServersRow AddWssServersRow(
Guid WSTS_SERVER_UID,
string WSTS_SERVER_NAME,
int WSTS_SERVER_WEB_PORT,
int WSTS_SERVER_ADMIN_PORT,
byte WSTS_WEB_PORT_IS_SSL,
byte WSTS_ADMIN_PORT_IS_SSL,
string WSTS_MANAGED_PATH,
string WSTS_EXTRANET_SERVER_NAME,
string WSTS_ADMIN_SERVER_NAME,
string WSTS_NETBIOS_SERVER_NAME,
string WSS_SERVER_URL
)
参数
- WSTS_SERVER_UID
类型:System.Guid
- WSTS_SERVER_NAME
类型:System.String
- WSTS_SERVER_WEB_PORT
类型:System.Int32
- WSTS_SERVER_ADMIN_PORT
类型:System.Int32
- WSTS_WEB_PORT_IS_SSL
类型:System.Byte
- WSTS_ADMIN_PORT_IS_SSL
类型:System.Byte
- WSTS_MANAGED_PATH
类型:System.String
- WSTS_EXTRANET_SERVER_NAME
类型:System.String
- WSTS_ADMIN_SERVER_NAME
类型:System.String
- WSTS_NETBIOS_SERVER_NAME
类型:System.String
- WSS_SERVER_URL
类型:System.String
返回值
类型:WebSvcWssInterop.WssServersDataSet.WssServersRow
备注
一般情况下,开发人员应使用的AddWssServersRow重载。
另请参阅
引用
WssServersDataSet.WssServersDataTable 类