다음을 통해 공유


ODataModelBuilder.RemoveOperation 메서드

정의

오버로드

RemoveOperation(OperationConfiguration)

모델에서 작업 제거

RemoveOperation(String)

모델에서 작업 제거 이름이 지정된 작업이 두 개 이상 있는 경우 이 메서드가 작동하지 않습니다. 대신 다른 RemoveOperation(..) 오버로드를 사용해야 합니다.

RemoveOperation(OperationConfiguration)

모델에서 작업 제거

public virtual bool RemoveOperation (Microsoft.AspNet.OData.Builder.OperationConfiguration operation);
abstract member RemoveOperation : Microsoft.AspNet.OData.Builder.OperationConfiguration -> bool
override this.RemoveOperation : Microsoft.AspNet.OData.Builder.OperationConfiguration -> bool
Public Overridable Function RemoveOperation (operation As OperationConfiguration) As Boolean

매개 변수

operation
OperationConfiguration

제거할 작업입니다.

반환

true 작업이 모델에 있으면 이고 false , 그렇지 않으면 입니다.

적용 대상

RemoveOperation(String)

모델에서 작업 제거 이름이 지정된 작업이 두 개 이상 있는 경우 이 메서드가 작동하지 않습니다. 대신 다른 RemoveOperation(..) 오버로드를 사용해야 합니다.

public virtual bool RemoveOperation (string name);
abstract member RemoveOperation : string -> bool
override this.RemoveOperation : string -> bool
Public Overridable Function RemoveOperation (name As String) As Boolean

매개 변수

name
String

제거할 작업의 이름입니다.

반환

true 작업이 모델에 있으면 이고 false , 그렇지 않으면 입니다.

적용 대상