共用方式為


ParameterInfo.Set(ParameterInfo+ParameterValueType, Object) Method

Definition

Set the parameter value on the client. if the value type is literal, value is literal, and its type should be of this parameter's DataType; if the value type is Referenced, value is a variable name string.

public:
 void Set(Microsoft::SqlServer::Management::IntegrationServices::ParameterInfo::ParameterValueType type, System::Object ^ value);
public void Set (Microsoft.SqlServer.Management.IntegrationServices.ParameterInfo.ParameterValueType type, object value);
member this.Set : Microsoft.SqlServer.Management.IntegrationServices.ParameterInfo.ParameterValueType * obj -> unit
Public Sub Set (type As ParameterInfo.ParameterValueType, value As Object)

Parameters

type
ParameterInfo.ParameterValueType

The type of the parameter value.

value
Object

The value to be set to the parameter.

Applies to