DbParameter.Direction 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
매개 변수가 입력 전용, 출력 전용, 양방향 또는 저장 프로시저 반환 값 매개 변수인지 나타내는 값을 가져오거나 설정합니다.
public:
abstract property System::Data::ParameterDirection Direction { System::Data::ParameterDirection get(); void set(System::Data::ParameterDirection value); };
public abstract System.Data.ParameterDirection Direction { get; set; }
member this.Direction : System.Data.ParameterDirection with get, set
Public MustOverride Property Direction As ParameterDirection
속성 값
ParameterDirection 값 중 하나입니다. 기본값은 Input입니다.
구현
예외
속성이 유효한 ParameterDirection 값 중의 하나로 설정되지 않은 경우
설명
출력 ParameterDirection 이고 연결된 DbCommand 실행이 값을 DbParameter 반환하지 않으면 null 값이 포함됩니다.
Output, InputOut및 ReturnValue 호출로 반환된 매개 변수는 호출 Close ExecuteReader 하거나 Dispose 호출DbDataReader할 때까지 액세스할 수 없습니다.